package org.jsping.filter;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class ServletListener implements ServletContextListener {
 
    @Override
    public void contextInitialized(ServletContextEvent sce) {
    	System.out.println("监听器开始运行");
    }
    
    @Override
    public void contextDestroyed(ServletContextEvent sce) {
    	System.out.println("监听器结束运行");
    }
}
